package com.xiaoxx.coin.po;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

@Data
public class AccountAsset {
    @JSONField(name = "asset")
    private String asset; // 资产名称

    @JSONField(name = "walletBalance")
    private String walletBalance; // 余额

    @JSONField(name = "unrealizedProfit")
    private String unrealizedProfit; // 未实现盈亏

    @JSONField(name = "marginBalance")
    private String marginBalance; // 保证金余额

    @JSONField(name = "maintMargin")
    private String maintMargin; // 维持保证金

    @JSONField(name = "initialMargin")
    private String initialMargin; // 当前所需起始保证金

    @JSONField(name = "positionInitialMargin")
    private String positionInitialMargin; // 持仓所需起始保证金

    @JSONField(name = "openOrderInitialMargin")
    private String openOrderInitialMargin; // 当前挂单所需起始保证金

    @JSONField(name = "crossWalletBalance")
    private String crossWalletBalance; // 全仓账户余额

    @JSONField(name = "crossUnPnl")
    private String crossUnPnl; // 全仓持仓未实现盈亏

    @JSONField(name = "availableBalance")
    private String availableBalance; // 可用余额

    @JSONField(name = "maxWithdrawAmount")
    private String maxWithdrawAmount; // 最大可转出余额

    @JSONField(name = "updateTime")
    private long updateTime; // 更新时间
}
